home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib16.dsk
/
GRAPHICS GRAB BAG 2.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
396b
|
16 lines
0 HOME
1 PRINT "INPUT ANY 2 NUMBERS": PRINT : PRINT
2 INPUT "INPUT NUMBER 1 ";C
3 INPUT "INPUT NUMBER 2 ";D
5 PI = 3.1415926536
10 HGR : HCOLOR= 7
11 HPLOT 139,96
15 POKE -16302,0
20 FOR X = 0 TO 360
30 X1 = X *PI/180
40 A = 95 * SIN(X1) * SIN(X1 *C)
45 B = 95 * COS(X1) * SIN(X1 *D)
50 X2 = 139 +A:Y = 96 +B
60 HPLOT TO X2,Y
70 NEXT X
80 POKE -16368,0: GET A$: TEXT : HOME : END